<?php /* Smarty version 2.6.18, created on 2016-12-09 16:00:48
         compiled from syllabus/syllabus.month.tpl.php */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.left.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
  <!--主要内容开始-->
  <div class="content-wrapper">
    <section class="content">
      <div class="row">
        <section class="col-lg-12 connectedSortable">
         <div class="box box-default box-solid">
                <div class="box-header with-border">
                    <span class="fa fa-list" style="float:left; font-size:18px; margin-top:2px; color:#3c8dbc;" ></span>
                    <p class="box-title"><?php echo $this->_tpl_vars['semester_data']['semester_name']; ?>
第<?php echo $this->_tpl_vars['semester_month']; ?>
学月教师课时汇总表</p>
                </div>
                <div class="box-body">
					<form name="myform" method="get" action="">
                     <div class="col-md-3 form-group">
						  <label class="col-sm-5 control-label text-right" style="padding-right:0; padding-left:0; font-weight:500;">
							   学月：
						  </label>
						  <div class="input-group col-md-6 col-xs-12">
							  <select class="form-control" name="semester_month">
                                 <option value="0"> 请选择</option>
								<?php $_from = $this->_tpl_vars['month_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                                 <option value="<?php echo $this->_tpl_vars['key']; ?>
" <?php if ($this->_tpl_vars['semester_month'] == $this->_tpl_vars['key']): ?>selected<?php endif; ?>> 第<?php echo $this->_tpl_vars['key']; ?>
学月</option>
								<?php endforeach; endif; unset($_from); ?>
                               </select> 
						  </div> 
				    </div>
					<div class="col-md-2 col-xs-12">
						<input type="hidden" name="a" value="syllabus.month">
					   <button type="submit" class="btn btn-warning">查 询</button>
					</div>
					</form>
                    <div style="clear:both; height:2px;"></div> 
                      <table class="table table-bordered">   
                             <tr>
                                <td>教师编号</td>
                                <td>教师姓名</td>
                                <td>周课时量</td>
                                <td>月实际总课时</td>
                                <td>学期总课时</td>
							 </tr>
							<?php $_from = $this->_tpl_vars['data_lists']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['value']):
?>
                             <tr>
							    <td><?php echo $this->_tpl_vars['value']['staff_number']; ?>
</td>
                                <td><?php echo $this->_tpl_vars['value']['staff_name']; ?>
</td>
                                <td><?php echo $this->_tpl_vars['value']['week_count']; ?>
</td>
                                <td><?php echo $this->_tpl_vars['value']['month_count']; ?>
</td>
                                <td><?php echo $this->_tpl_vars['value']['semester_count']; ?>
</td>
							 </tr>
							<?php endforeach; endif; unset($_from); ?>
						 </table>      	   
				    </div><!--box-body --> 
             </div><!--box box-default box-solid-->
          </section>   
        </div><!--row-->
    </section>
 </div>
  <!--主要内容结束-->
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index.footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>